package cn.mysdp.biz.controller;


import cn.mysdp.biz.dto.request.*;
import cn.mysdp.biz.dto.response.*;
import cn.mysdp.biz.facade.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: SdpProjectWebBaseController
 * @Description:
 * @Author: SDP
 * @Date: 2021-10-30
 * @Version: 1.0
 * Table: sdp_project
 * Comment:
 * 
 */
public class SdpProjectWebBaseController extends BaseController {
    @Autowired
    SdpProjectFacade service;

    public Integer addSdpProject(SdpProjectAddRequest request) throws Exception {
        return service.addSdpProject(request);
    }

    public Integer updateSdpProject(SdpProjectUpdateRequest request) throws Exception {
        return service.updateSdpProject(request);
    }

    public Integer deleteSdpProject(SdpProjectDeleteRequest request) throws Exception {
        return service.deleteSdpProject(request);
    }

    public SdpProjectQueryResponse querySdpProject(SdpProjectQueryRequest request) throws Exception {
        return service.querySdpProject(request);
    }

    public List<SdpProjectQueryResponse> listSdpProject(SdpProjectQueryRequest request) throws Exception {
        return service.listSdpProject(request);
    }

    public Integer countSdpProject(SdpProjectQueryRequest request) throws Exception {
        return service.countSdpProject(request);
    }

    public BaseStatResponse statSdpProject(SdpProjectQueryRequest request) throws Exception {
        return service.statSdpProject(request);
    }

    public SdpProjectForExecuteResponse execute(SdpProjectForExecuteRequest request) throws Exception {
        return service.execute(request);
    }

    public SdpProjectForShellResponse shell(SdpProjectForShellRequest request) throws Exception {
        return service.shell(request);
    }


    public Integer clone(BaseNameIdRequest request) throws Exception {
        return service.clone(request);
    }

}
